﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    public interface IFriendlyLinkBll
    {
        Task<int> AddFriendlyLinkAsync(string title, string link, string photo);
        Task<int> EditFriendlyLinkAsync(int id, string title, string link, string photo);
        Task<int> DeleteFriendlyLinkAsync(int id);
        Task<List<FriendlyLinkDto>> GetFriendlyLinkAllAsync();
        Task<FriendlyLinkDto> QueryFriendlyLinkByIdAsync(int id);
        //Task<List<FriendlyLinkDto>> QueryFriendlyLinkByNameAsync(string title);
    }
}
